#!/bin/sh

for USER in test{6..10}
do
    useradd $USER
    echo "${USER}abc" | passwd --stdin $USER &> /dev/null
done

cat /etc/passwd | grep test  
